.topbar {
  .w {
    width: 960px;
    height: 82px;
    margin: 0 auto;
    font-size: 12px;
    .logo {
      float: left;
      margin-top: 30px;
    }
    .r {
      float: right;
      .login {
        line-height: 32px;
        height: 32px;
        text-align: right;
        a {
          color: #ed145b;
        }
      }
      .path {
        width: 377px;
        height: 48px;
        background: url(../img/order_path.png) no-repeat;
        // background-position: ;
      }
    }
  }
}
hr {
  border: none;
  border-top: 2px solid rgb(179, 177, 177);
}
.cart_list {
  .w {
    width: 960px;
    min-height: 300px;
    margin: 0 auto;
    .top {
      height: 40px;
      font-size: 12px;
      p {
        width: 50%;
        height: 30px;
      }
      .tip {
        float: left;
      }
      .serve {
        float: right;
        text-align: right;
        span {
          display: inline-block;
          padding-left: 26px;
          height: 25px;
          line-height: 25px;
          box-sizing: border-box;
          background: url(../img/header_s1.png) no-repeat;
        }
        .real {
          width: 91px;
          background-position: 0 -107px;
          margin-right: 20px;
        }
        .qt {
          width: 110px;
          background-position: 0 -142px;
          margin-right: 10px;
        }
        .by {
          width: 155px;
          background-position: 0 -177px;
        }
      }
    }

    table {
      width: 100%;
      font-size: 12px;
      margin: 0;
      padding: 0;
      margin-bottom: 10px;
      img {
        width: 60px;
        height: 60px;
      }
      .t1,
      .t2 {
        td {
          text-align: center;
          &:nth-child(1) {
            text-align: left;
            flex: 0.1;
          }
          &:nth-child(2) {
            text-align: left;
            flex: 5;
          }
        }
      }
      .t1 {
        display: flex;
        line-height: 35px;
        height: 35px;
        background-color: #fafafa;
        border: 1px solid #ccc;
        td {
          flex: 1;
        }
      }
      .t2 {
        display: flex;
        border: 1px solid #ccc;
        border-top: none;
        height: 100px;
        // line-height: 35px;
        td {
          box-sizing: border-box;
          padding: 20px 0;
          flex: 1;
          &:nth-child(1) {
            padding: 40px 0;
          }
          &:nth-child(2) {
            img {
              float: left;
            }
            .desc {
              float: left;
              width: 250px;
              //   line-height: 20px;
              a {
                display: block;
                width: 250px;
                line-height: 25px;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
              }
              span {
                line-height: 20px;
              }
            }
          }
          .num {
            width: 74px;
            height: 22px;
            border: 1px solid #ccc;
            a {
              display: inline-block;
              width: 22px;
              height: 22px;
              text-align: center;
              line-height: 22px;
              background-color: #f9f9f9;
              font-size: 14px;
              color: #666;
            }
            .sub {
              float: left;
            }
            .add {
              float: right;
            }
            input {
              border: none;
              padding: 0;
              width: 30px;
              height: 22px;
              border-left: 1px solid #ccc;
              border-right: 1px solid #ccc;
              float: left;
              box-sizing: border-box;
              padding-left: 10px;
            }
          }
        }
      }
      .t3 {
        line-height: 35px;
        height: 35px;
        background-color: #fafafa;
        border: 1px solid #ccc;
        border-top: none;
        display: block;
        td {
          display: block;
          height: 35px;
          text-align: right;
          padding: 0 10px;
          span {
            color: #ed145b;
            font-size: 20px;
          }
        }
      }
    }
    .bot {
      height: 48px;
      border: 1px solid #ccc;
      margin-top: 10px;
      .p1,
      .p2 {
        width: fit-content;
        height: 48px;
        line-height: 48px;
        font-size: 12px;
        span {
          color: #ed145b;
          font-size: 14px;
          font-weight: bold;
        }
        .total {
          font-size: 22px;
        }
      }
      .p1 {
        float: left;
      }
      .p2 {
        float: right;
        input {
          border: none;
          width: 145px;
          height: 48px;
          background-color: #ed145b;
          text-align: center;
          line-height: 48px;
          font-size: 20px;
          color: #fff;
          float: right;
          margin-left: 20px;
        }
      }
    }
  }
}
